<template>
	<view>
		<view class="kxzczxcrtryr pd pr vertical-center tl">
			<view class="pd ">
				<view class="">
					<view class="fz60 z3 b">
						{{kxcxera}}
					</view>
					<view class="mt10">
						<text class="cxcrtrty">今日新增积分 {{kxcxerb||0}} 分</text>
					</view>
				</view>
			</view>
			<image src="../../static/jifensr.png" class="cxcxcrtxfgtry" mode="widthFix"></image>
		</view>
		<view class="lxcxzcrtydxdty pd pt20 pm40">
			<view class="">
			<!-- 	<view class="pt20  fz32">
					2024年7月26日
				</view> -->
				<view class="mt20 dfcxcxrtry pr40 pl40 pt20 pm20 display-flex" v-for="sd in jxcxfty">
					<view class="flex-1">
						<view class="fz30">
							{{sd.name}}
						</view>
						<view class="fz24 z9 mt5">
							{{sd.addTime}}
						</view>
					</view>
					<view class="ls vertical-center fz40">
						+{{sd.jifen}}

					</view>
				</view>
			</view>
		<view class="vertical-center" v-if="jxcxfty.length<=0">
			<view class="cen mt100">
				<image src="../../static/noData.png" mode="widthFix" class="xcxzctretcty"></image>
				<view class="mt20 cen z3 fz24">
					暂无数据！
				</view>
			</view>
		</view>
		</view>
		
		
		
	</view>
	
</template>
<script lang="ts" setup>
	import { onLoad } from "@dcloudio/uni-app"
	import { ref } from "vue"
	import { hf, dxrequest, callBack } from "@/util/index.js"
	const jxcxfty = ref([])
	const kxcxera = ref(0)
	const kxcxerb = ref(0)
	const init = async()=>{
		uni.showLoading({
			title:"加载中..."
		})
		const {data} = await dxrequest("maya/api/getjifenList")
		jxcxfty.value = data.list
		kxcxera.value = data.zjf
		kxcxerb.value = data.jrjfre
		uni.hideLoading()
	}
	init()
</script>

<style scoped>
	
</style>